//
//  pool
//  Created by tom on 2022/4/25.
//  Copyright ©xcar. All rights reserved.
//

import 'package:example/components/test_component/component.dart';
import 'package:fish_redux/fish_redux.dart';

import '../page/base/state.dart';


/// 组件池
Map<String, Dependent<PageState>> pool = {
  'test': PageConnector('test') + TestComponent()
};


/// 数据源
Map<String, Map<String, dynamic>> dataMap = {
  'test': <String, dynamic>{
    'info': {
      'content': 'red'
    },
    'ui': {
      'padding_left': 0,
      'padding_right': 0,
      'width': '1.sw',
      'height': '100'
    },
    'actions': {}
  }
};